﻿using System;
using System.Collections.Generic;

namespace Hx.Components.Models
{
    public class CategoryModel : BaseModel
    {
        /// <summary>
        ///     分类名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        ///     父ID
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        ///     手札数
        /// </summary>
        public int ArticleCount { get; set; }

        /// <summary>
        ///     随记数
        /// </summary>
        public int MarkCount { get; set; }

        /// <summary>
        ///     子分类
        /// </summary>
        public List<CategoryModel> Children { get; set; }
    }
}